<!DOCTYPE html>
<!--[if IE 8]>
<html lang="zh-CN" class="ie8" xmlns:th="http://www.thymeleaf.org"
      xmlns:layout="http://www.ultraq.net.nz/web/thymeleaf/layout"> <![endif]-->
<!--[if !IE]><!-->
<html lang="zh-cmn-Hans-CN" xmlns:th="http://www.thymeleaf.org"
      xmlns:layout="http://www.ultraq.net.nz/web/thymeleaf/layout">
<!--<![endif]-->
<head th:replace="head :: common_header(~{::title},~{::link})">
    <title>庭审信息管理平台-首页</title>
    <!-- ================== BEGIN PAGE LEVEL CSS STYLE ================== -->
    <link rel="stylesheet" type="text/css" th:href="@{/assets/plugins/font-awesome-4.7.0/css/font-awesome.min.css}">
    <link rel="stylesheet" type="text/css"
          th:href="@{/assets/plugins/bootstrap-datetimepicker/css/bootstrap-datetimepicker.min.css}">
    <link rel="stylesheet" type="text/css" th:href="@{/assets/css/loading.css}">
    <link rel="stylesheet" th:href="@{/assets/css/play.css}"/>
    <!-- ================== END PAGE LEVEL CSS STYLE ================== -->
</head>
<body>
<!--loading 加载层-->
<div th:replace="~{head :: loading}"></div><!-- begin #page-container -->
<div id="page-container" class="page-container fade page-without-sidebar">
    <div th:replace="~{head.html :: head_nav(${session.user.realName})}"></div>
    <!-- begin #content -->
    <div id="content" class="content">
        <!-- begin breadcrumb -->
        <ol class="breadcrumb cmp-breadcrumb">
            <li>
                <a th:href="@{/index.html}"><i class="fa fa-home fa-lg fa-fw"></i><span
                        class="context-span">&nbsp;主页</span></a>
            </li>
            <li>
                <a href="javascript:base.back();"><i class="fa  fa-arrow-left fa-lg"></i><span class="context-span">&nbsp;后退</span></a>
            </li>
            <li class="active">
                <a href="javascript:location.reload();"><i class="fa fa-refresh fa-fw nowrap"></i><span
                        class="context-span" id="title">&nbsp;原告.......</span></a>
            </li>
        </ol>
        <!-- end breadcrumb -->
        <div class="panel cmp-panel">
            <div class="panel-body">
                <div class="row">
                    <div class="col-md-8 col-xs-12">
                        <div class="well">
                            <div class="vlc">
                                <object classid="clsid:9BE31822-FDAD-461B-AD51-BE1D1C159921"
                                        width="100%"
                                        height="630px"
                                        id="vlc"
                                        events="True">
                                    <param name="MRL" value=""/>
                                    <param name="ShowDisplay" value="True"/>
                                    <param name="AutoLoop" value="False"/>
                                    <param name="AutoPlay" value="False"/>
                                    <param name="Volume" value="50"/>
                                    <param name="toolbar" value="true"/>
                                    <param name="StartTime" value="0"/>
                                    <EMBED pluginspage="http://www.videolan.org"
                                           type="application/x-vlc-plugin"
                                           version="VideoLAN.VLCPlugin.2"
                                           width="100%"
                                           height="630px"
                                           toolbar="false"
                                           bgcolor="white"
                                           loop="true"
                                           text="Waiting for video"
                                           name="vlc">
                                    </EMBED>
                                    <div id="pro_bar"></div>
                                </object>
                            </div>
                        </div>
                        <div style="margin-top:3px;">
                            <button class="btn btn-primary" data-toggle="button" onclick="catch1();" id="catch1">抓拍
                            </button>
                            <button class="btn btn-danger" data-toggle="button" onclick="start1();">截取起点</button>
                            <input type="text" style="width:130px;" id="startText"/>
                            <button class="btn btn-danger" data-toggle="button" onclick="end1();">截取终点</button>
                            <input type="text" style="width:130px;" id="endText"/>
                            <button class="btn btn-danger" data-toggle="button" onclick="subVideo();" id="subVideo">截取
                            </button>
                            <a class="btn btn-primary" href="#" id="imageLoad">截取图片/视频一览界面</a>
                        </div>
                    </div>
                    <div class="col-md-4 col-xs-12">
                        <div class="well">
                            <ul class="nav nav-tabs nav-court cmp-play-nav-tabs" role="tablist" id="nav-court">
                                <li role="presentation" id="_nav_court_info" class="active"><a
                                        href="javascript:void(0);"><span class="context-span context-white">案件信息</span></a>
                                </li>
                                <li role="presentation" id="_nav_court_note"><a href="javascript:void(0);"><span
                                        class="context-span context-white">笔录信息</span></a></li>
                                <li role="presentation" id="_nav_court_note_down" style="display: none"><a href=""
                                                                                                           download
                                                                                                           id="noteLoad"
                                                                                                           class="context-span context-white"><span>笔录下载</span></a>
                                </li>
                                <!--<li role="presentation" id="_nav_court_p"><a href="javascript:void(0);"><span>庭审成员</span></a></li>-->
                            </ul>
                            <div id="_court_info">
                                <div class="row">
                                    <div class="col-md-5 col-xs-12">
                                        <select title="点播通道" id="channels" class="form-control"></select>
                                    </div>
                                    <div class="col-md-5 col-xs-12">
                                        <select title="点播录像" id="videos" class="form-control"></select>
                                    </div>
                                    <div class="col-md-2 col-xs-12">
                                        <button class="btn  btn-sm btn-primary " id="download" onclick="down();">视频下载
                                        </button>
                                    </div>
                                </div>
                            </div>
                            <div id="_court_note" hidden="hidden">
                                <div class="row">
                                    <div class="col-md-12 col-xs-12" style="padding-top: 10px">
                                        <pre id="notetext" class="notetext"></pre>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <!-- 按钮触发模态框 -->
        <!-- 模态框（Modal） -->
        <div draggable="true" class="modal fade" id="myModal" role="dialog" aria-labelledby="myModalLabel"
             aria-hidden="true" style="position:fixed;top:100px;background-color:white;width:25%;height:45%;left:70%;">
            <div class="modal-dialog" style="width:100%;margin:0px;">
                <div class="modal-content">
                    <div class="modal-header">
                        <button type="button" class="close" data-dismiss="modal" aria-hidden="true"> &times; </button>
                    </div>
                    <div class="modal-body" style="height:300px;">
                        <img alt="抓拍图片" src="" id="image" width="100%" height="100%">
                    </div>
                    <div class="modal-footer">
                        <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
                    </div>
                </div>
                <!-- /.modal-content -->
            </div>
            <!-- /.modal -->
        </div>
    </div>

    <!-- end #content -->

    <!-- begin scroll to top btn -->
    <a href="javascript:;" class="btn btn-icon btn-circle btn-blue btn-scroll-to-top fade" data-click="scroll-top"><i
            class="fa fa-angle-up"></i></a>
    <!-- end scroll to top btn -->
</div>
<div th:replace="head :: footer_js(~{::script})">
    <!--&lt;!&ndash; ================== BEGIN PAGE LEVEL JS ================== &ndash;&gt;-->
    <script type="text/javascript"
            th:src="@{/assets/plugins/bootstrap-datetimepicker/js/bootstrap-datetimepicker.js}"></script>
    <script type="text/javascript"
            th:src="@{/assets/plugins/bootstrap-datetimepicker/js/locales/bootstrap-datetimepicker.zh-CN.js}"
            charset="UTF-8"></script>
    <script type="text/javascript" th:src="@{/assets/plugins/bootstrap-paginator/bootstrap-paginator.js}"></script>
    <script type="text/javascript" th:src="@{/assets/plugins/NaiveIM/naiveIM.js}"></script>
    <script type="text/javascript" th:src="@{/assets/plugins/cmp-progress-bar/cmp-progress-bar.js}"></script>
    <script type="text/javascript" th:src="@{/assets/plugins/cmp-uvedomleniye/uvedomleniye.js}"></script>
    <script type="text/javascript" th:src="@{/assets/js/vlc_load.js}"></script>
    <script th:src="@{/assets/js/play.js}"></script>
    <!-- ================== END IMPORT JS ================== -->
    <script th:inline="javascript">
        var caseMap = [[${caseMap}]];
        getCaseInfoByIdForToday(caseMap);
    </script>
    <script>
        $(document).ready(function () {
            App.init();
        });
    </script>
    <!-- 缓存数据 -->
    <input type="hidden" id="data">
    <div id="videosData" style="display:none;"></div>
</div>
</body>
</html>